// "Remove redundant assignment" "true-preview"
record R2(int y) {
  public R2 {
    this.y = y;
    <caret>y = y + 1;
  }
}